import {
  getax,
  postax,
} from './plugins/request.js'

export function login(key) {
  return postax('/index/index/login', key)
}

export function logout() {
  return getax('logout')
}

